﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.ComponentModel;
namespace ProjetLabo.Class.Utils.Database
{
    public  class DataBaseNotify : DataSet, INotifyPropertyChanged
    {
        private DataTableCollection tablesCollection;

        public DataTableCollection TablesCollection
        {
            get { return Tables; }
            set
            {
                RaisePropertyChanged("TablesCollection");
            }
        }

        

        public DataBaseNotify()
        {
            
        }

        private void RaisePropertyChanged(string propertyName)
        {
            if (PropertyChanged == null) return;
            PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
        }

        public event PropertyChangedEventHandler PropertyChanged;
    }
}
